<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Vehicle</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__vehicle.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Vehicle</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleChassisData.html">PxVehicleChassisData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleEngineData.html">PxVehicleEngineData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleGearsData.html">PxVehicleGearsData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleAutoBoxData.html">PxVehicleAutoBoxData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDifferential4WData.html">PxVehicleDifferential4WData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDifferentialNWData.html">PxVehicleDifferentialNWData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleAckermannGeometryData.html">PxVehicleAckermannGeometryData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleClutchAccuracyMode.html">PxVehicleClutchAccuracyMode</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Choose between a potentially more expensive but more accurate solution to the clutch model or a potentially cheaper but less accurate solution.  <a href="structPxVehicleClutchAccuracyMode.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleClutchData.html">PxVehicleClutchData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleTireLoadFilterData.html">PxVehicleTireLoadFilterData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tire load variation can be strongly dependent on the time-step so it is a good idea to filter it to give less jerky handling behavior.  <a href="classPxVehicleTireLoadFilterData.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleWheelData.html">PxVehicleWheelData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleSuspensionData.html">PxVehicleSuspensionData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleAntiRollBarData.html">PxVehicleAntiRollBarData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleTireData.html">PxVehicleTireData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDriveSimData.html">PxVehicleDriveSimData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure describing non-wheel configuration data of a vehicle that has engine, gears, clutch, and auto-box.  <a href="classPxVehicleDriveSimData.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDriveDynData.html">PxVehicleDriveDynData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure with instanced dynamics data for vehicle with engine, clutch, gears, autobox.  <a href="classPxVehicleDriveDynData.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive.html">PxVehicleDrive</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A complete vehicle with instance dynamics data and configuration data for wheels and engine,clutch,gears,autobox.  <a href="classPxVehicleDrive.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDriveSimData4W.html">PxVehicleDriveSimData4W</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure describing the drive model components of a vehicle with up to 4 driven wheels and up to 16 un-driven wheels. The drive model incorporates engine, clutch, gears, autobox, differential, and Ackermann steer correction.  <a href="classPxVehicleDriveSimData4W.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleDrive4WWheelOrder.html">PxVehicleDrive4WWheelOrder</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The ordering of the driven and steered wheels of a <a class="el" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with up to 4 driven w...">PxVehicleDrive4W</a>.  <a href="structPxVehicleDrive4WWheelOrder.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleDrive4WControl.html">PxVehicleDrive4WControl</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The control inputs for a <a class="el" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with up to 4 driven w...">PxVehicleDrive4W</a>.  <a href="structPxVehicleDrive4WControl.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure with instanced dynamics data and configuration data of a vehicle with up to 4 driven wheels and up to 16 non-driven wheels.  <a href="classPxVehicleDrive4W.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDriveSimDataNW.html">PxVehicleDriveSimDataNW</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure describing configuration data of a vehicle with up to PX_MAX_NB_WHEELS driven equally through the differential. The vehicle has an engine, clutch, gears, autobox, differential.  <a href="classPxVehicleDriveSimDataNW.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleDriveNWControl.html">PxVehicleDriveNWControl</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The control inputs for a <a class="el" href="classPxVehicleDriveNW.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with up to PX_MAX_NB_...">PxVehicleDriveNW</a>.  <a href="structPxVehicleDriveNWControl.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDriveNW.html">PxVehicleDriveNW</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure with instanced dynamics data and configuration data of a vehicle with up to PX_MAX_NB_WHEELS driven wheels.  <a href="classPxVehicleDriveNW.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleDriveTankWheelOrder.html">PxVehicleDriveTankWheelOrder</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The ordering of the wheels of a <a class="el" href="classPxVehicleDriveTank.html" title="Data structure with instanced dynamics data and configuration data of a tank. ">PxVehicleDriveTank</a>.  <a href="structPxVehicleDriveTankWheelOrder.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleDriveTankControl.html">PxVehicleDriveTankControl</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The control inputs for a <a class="el" href="classPxVehicleDriveTank.html" title="Data structure with instanced dynamics data and configuration data of a tank. ">PxVehicleDriveTank</a>.  <a href="structPxVehicleDriveTankControl.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleDriveTankControlModel.html">PxVehicleDriveTankControlModel</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Two driving models are supported.  <a href="structPxVehicleDriveTankControlModel.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDriveTank.html">PxVehicleDriveTank</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure with instanced dynamics data and configuration data of a tank.  <a href="classPxVehicleDriveTank.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleNoDrive.html">PxVehicleNoDrive</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure with instanced dynamics data and configuration data of a vehicle with no drive model.  <a href="classPxVehicleNoDrive.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleTypes.html">PxVehicleTypes</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleConcreteType.html">PxVehicleConcreteType</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">An enumeration of concrete vehicle classes inheriting from <a class="el" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection. ">PxBase</a>.  <a href="structPxVehicleConcreteType.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleUpdateMode.html">PxVehicleUpdateMode</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleDrivableSurfaceType.html">PxVehicleDrivableSurfaceType</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Driving surface type. Each <a class="el" href="classPxMaterial.html" title="Material class to represent a set of surface properties. ">PxMaterial</a> is associated with a corresponding <a class="el" href="structPxVehicleDrivableSurfaceType.html" title="Driving surface type. Each PxMaterial is associated with a corresponding PxVehicleDrivableSurfaceType...">PxVehicleDrivableSurfaceType</a>.  <a href="structPxVehicleDrivableSurfaceType.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrivableSurfaceToTireFrictionPairs.html">PxVehicleDrivableSurfaceToTireFrictionPairs</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Friction for each combination of driving surface type and tire type.  <a href="classPxVehicleDrivableSurfaceToTireFrictionPairs.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxWheelQueryResult.html">PxWheelQueryResult</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure containing data describing the non-persistent state of each suspension/wheel/tire unit. This structure is filled out in PxVehicleUpdates and PxVehicleUpdateSingleVehicleAndStoreTelemetryData.  <a href="structPxWheelQueryResult.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleWheelQueryResult.html">PxVehicleWheelQueryResult</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleWheelConcurrentUpdateData.html">PxVehicleWheelConcurrentUpdateData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure containing data that is computed for a wheel during concurrent calls to PxVehicleUpdates or PxVehicleUpdateSingleVehicleAndStoreTelemetryData but which cannot be safely concurrently applied.  <a href="structPxVehicleWheelConcurrentUpdateData.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleConcurrentUpdateData.html">PxVehicleConcurrentUpdateData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure containing data that is computed for a vehicle and its wheels during concurrent calls to PxVehicleUpdates or PxVehicleUpdateSingleVehicleAndStoreTelemetryData but which cannot be safely concurrently applied.  <a href="structPxVehicleConcurrentUpdateData.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to produce smooth vehicle driving control values from key inputs.  <a href="structPxVehicleKeySmoothingData.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to produce smooth analog vehicle control values from analog inputs.  <a href="structPxVehiclePadSmoothingData.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4WRawInputData.html">PxVehicleDrive4WRawInputData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to produce smooth vehicle driving control values from analog and digital inputs.  <a href="classPxVehicleDrive4WRawInputData.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDriveNWRawInputData.html">PxVehicleDriveNWRawInputData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to produce smooth vehicle driving control values from analog and digital inputs.  <a href="classPxVehicleDriveNWRawInputData.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDriveTankRawInputData.html">PxVehicleDriveTankRawInputData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to produce smooth analog tank control values from analog and digital inputs.  <a href="classPxVehicleDriveTankRawInputData.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleCopyDynamicsMap.html">PxVehicleCopyDynamicsMap</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used by PxVehicleCopyDynamicsData.  <a href="classPxVehicleCopyDynamicsMap.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleWheelsSimFlag.html">PxVehicleWheelsSimFlag</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flags to configure the vehicle wheel simulation.  <a href="structPxVehicleWheelsSimFlag.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleWheelsSimData.html">PxVehicleWheelsSimData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure describing configuration data of a vehicle with up to 20 wheels.  <a href="classPxVehicleWheelsSimData.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleWheelsDynData.html">PxVehicleWheelsDynData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure with instanced dynamics data for wheels.  <a href="classPxVehicleWheelsDynData.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure with instanced dynamics data and configuration data of a vehicle with just wheels.  <a href="classPxVehicleWheels.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gaa52f6479b78eccd706af05e1e0a0c43f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#gaa52f6479b78eccd706af05e1e0a0c43f">PX_MAX_NB_WHEELS</a>&#160;&#160;&#160;(20)</td></tr>
<tr class="memdesc:gaa52f6479b78eccd706af05e1e0a0c43f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This number is the maximum number of wheels allowed for a vehicle.  <a href="#gaa52f6479b78eccd706af05e1e0a0c43f">More...</a><br /></td></tr>
<tr class="separator:gaa52f6479b78eccd706af05e1e0a0c43f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0c3a7dea79cf9968bd350a49ce0fd770"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga0c3a7dea79cf9968bd350a49ce0fd770">PX_DEBUG_VEHICLE_ON</a>&#160;&#160;&#160;(1)</td></tr>
<tr class="memdesc:ga0c3a7dea79cf9968bd350a49ce0fd770"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compiler setting to enable recording of telemetry data.  <a href="#ga0c3a7dea79cf9968bd350a49ce0fd770">More...</a><br /></td></tr>
<tr class="separator:ga0c3a7dea79cf9968bd350a49ce0fd770"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga2b7b927dd3d949d50a3f42c695264f43"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga2b7b927dd3d949d50a3f42c695264f43">PxVehicleComputeTireForce</a>) (const void *shaderData, const PxF32 tireFriction, const PxF32 longSlip, const PxF32 latSlip, const PxF32 camber, const PxF32 wheelOmega, const PxF32 wheelRadius, const PxF32 recipWheelRadius, const PxF32 restTireLoad, const PxF32 normalisedTireLoad, const PxF32 tireLoad, const PxF32 gravity, const PxF32 recipGravity, PxF32 &amp;wheelTorque, PxF32 &amp;tireLongForceMag, PxF32 &amp;tireLatForceMag, PxF32 &amp;tireAlignMoment)</td></tr>
<tr class="memdesc:ga2b7b927dd3d949d50a3f42c695264f43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prototype of shader function that is used to compute wheel torque and tire forces.  <a href="#ga2b7b927dd3d949d50a3f42c695264f43">More...</a><br /></td></tr>
<tr class="separator:ga2b7b927dd3d949d50a3f42c695264f43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5de07a7bd475df4e4c41f3f11ddcdb5"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classPxFlags.html">PxFlags</a>&lt; <a class="el" href="structPxVehicleWheelsSimFlag.html#ae22cac8835a33a55a7bddc2223638d60">PxVehicleWheelsSimFlag::Enum</a>, <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#gab5de07a7bd475df4e4c41f3f11ddcdb5">PxVehicleWheelsSimFlags</a></td></tr>
<tr class="memdesc:gab5de07a7bd475df4e4c41f3f11ddcdb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Collection of set bits defined in <a class="el" href="structPxVehicleWheelsSimFlag.html" title="Flags to configure the vehicle wheel simulation. ">PxVehicleWheelsSimFlag</a>.  <a href="#gab5de07a7bd475df4e4c41f3f11ddcdb5">More...</a><br /></td></tr>
<tr class="separator:gab5de07a7bd475df4e4c41f3f11ddcdb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga8d4cfac998db5828bcfff2253c3d1fcc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga8d4cfac998db5828bcfff2253c3d1fcc">PX_COMPILE_TIME_ASSERT</a> (0==(sizeof(<a class="el" href="classPxVehicleChassisData.html">PxVehicleChassisData</a>)&amp;0x0f))</td></tr>
<tr class="separator:ga8d4cfac998db5828bcfff2253c3d1fcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa7aaf3de1f2da04c2617a36d053398ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gaea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> bool <a class="el" href="group__foundation.html#ga65a319adb859941e5bd98575280b8d19">PX_CALL_CONV</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#gaa7aaf3de1f2da04c2617a36d053398ca">PxInitVehicleSDK</a> (<a class="el" href="classPxPhysics.html">PxPhysics</a> &amp;physics, <a class="el" href="classPxSerializationRegistry.html">PxSerializationRegistry</a> *serializationRegistry=NULL)</td></tr>
<tr class="memdesc:gaa7aaf3de1f2da04c2617a36d053398ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the PhysXVehicle library.  <a href="#gaa7aaf3de1f2da04c2617a36d053398ca">More...</a><br /></td></tr>
<tr class="separator:gaa7aaf3de1f2da04c2617a36d053398ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e1512107497cdfcc620b575d3c135e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gaea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> void <a class="el" href="group__foundation.html#ga65a319adb859941e5bd98575280b8d19">PX_CALL_CONV</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga9e1512107497cdfcc620b575d3c135e6">PxCloseVehicleSDK</a> (<a class="el" href="classPxSerializationRegistry.html">PxSerializationRegistry</a> *serializationRegistry=NULL)</td></tr>
<tr class="memdesc:ga9e1512107497cdfcc620b575d3c135e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shut down the PhysXVehicle library.  <a href="#ga9e1512107497cdfcc620b575d3c135e6">More...</a><br /></td></tr>
<tr class="separator:ga9e1512107497cdfcc620b575d3c135e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7c8330d753c24dc9a14d11a0355768a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga7c8330d753c24dc9a14d11a0355768a9">PxVehicleSetBasisVectors</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;up, const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;forward)</td></tr>
<tr class="memdesc:ga7c8330d753c24dc9a14d11a0355768a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the basis vectors of the vehicle simulation.  <a href="#ga7c8330d753c24dc9a14d11a0355768a9">More...</a><br /></td></tr>
<tr class="separator:ga7c8330d753c24dc9a14d11a0355768a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3b853549d4313bbbbf6a23ccd96817c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga3b853549d4313bbbbf6a23ccd96817c5">PxVehicleSetUpdateMode</a> (<a class="el" href="structPxVehicleUpdateMode.html#ac04dae30cbaf5d57733b9da361bd7118">PxVehicleUpdateMode::Enum</a> vehicleUpdateMode)</td></tr>
<tr class="memdesc:ga3b853549d4313bbbbf6a23ccd96817c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the effect of PxVehicleUpdates to be either to modify each vehicle's rigid body actor.  <a href="#ga3b853549d4313bbbbf6a23ccd96817c5">More...</a><br /></td></tr>
<tr class="separator:ga3b853549d4313bbbbf6a23ccd96817c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf1eb208ee9ffdbfa91d20ee3bb5087e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#gaf1eb208ee9ffdbfa91d20ee3bb5087e0">PxVehicleSetSweepHitRejectionAngles</a> (const PxF32 pointRejectAngle, const PxF32 normalRejectAngle)</td></tr>
<tr class="memdesc:gaf1eb208ee9ffdbfa91d20ee3bb5087e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set threshold angles that are used to determine if a wheel hit is to be resolved by vehicle suspension or by rigid body collision.  <a href="#gaf1eb208ee9ffdbfa91d20ee3bb5087e0">More...</a><br /></td></tr>
<tr class="separator:gaf1eb208ee9ffdbfa91d20ee3bb5087e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4eb698c19004af6a07c2b2a666f0c1ce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga4eb698c19004af6a07c2b2a666f0c1ce">PxVehicleSetMaxHitActorAcceleration</a> (const PxF32 maxHitActorAcceleration)</td></tr>
<tr class="memdesc:ga4eb698c19004af6a07c2b2a666f0c1ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine the maximum acceleration experienced by <a class="el" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK. ">PxRigidDynamic</a> instances that are found to be in contact with a wheel.  <a href="#ga4eb698c19004af6a07c2b2a666f0c1ce">More...</a><br /></td></tr>
<tr class="separator:ga4eb698c19004af6a07c2b2a666f0c1ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2020b9fcb5092e2a2d81e82ba7461dfd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga2020b9fcb5092e2a2d81e82ba7461dfd">PxVehicleSuspensionRaycasts</a> (<a class="el" href="classPxBatchQuery.html">PxBatchQuery</a> *batchQuery, const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> nbVehicles, <a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> **vehicles, const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> nbSceneQueryResults, <a class="el" href="group__physics.html#ga5d8a1dc3627cf1442f40d91a5ec6b4e3">PxRaycastQueryResult</a> *sceneQueryResults, const bool *vehiclesToRaycast=NULL)</td></tr>
<tr class="memdesc:ga2020b9fcb5092e2a2d81e82ba7461dfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform raycasts for all suspension lines for all vehicles.  <a href="#ga2020b9fcb5092e2a2d81e82ba7461dfd">More...</a><br /></td></tr>
<tr class="separator:ga2020b9fcb5092e2a2d81e82ba7461dfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga609c26d70a0e7452c313ebe8c58d9da5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga609c26d70a0e7452c313ebe8c58d9da5">PxVehicleSuspensionSweeps</a> (<a class="el" href="classPxBatchQuery.html">PxBatchQuery</a> *batchQuery, const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> nbVehicles, <a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> **vehicles, const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> nbSceneQueryResults, <a class="el" href="group__physics.html#ga89ec6835295298336ceaca7069ba96e4">PxSweepQueryResult</a> *sceneQueryResults, const PxU16 nbHitsPerQuery, const bool *vehiclesToSweep=NULL, const PxF32 sweepWidthScale=1.0f, const PxF32 sweepRadiusScale=1.0f, const PxF32 sweepInflation=0.0f)</td></tr>
<tr class="memdesc:ga609c26d70a0e7452c313ebe8c58d9da5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform sweeps for all suspension lines for all vehicles.  <a href="#ga609c26d70a0e7452c313ebe8c58d9da5">More...</a><br /></td></tr>
<tr class="separator:ga609c26d70a0e7452c313ebe8c58d9da5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1acc47dad2914768ee6074320b0a5643"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga1acc47dad2914768ee6074320b0a5643">PxVehicleModifyWheelContacts</a> (const <a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> &amp;vehicle, const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> wheelId, const PxF32 wheelTangentVelocityMultiplier, const PxReal <a class="el" href="PxContact_8h.html#a0a05cbea8c3ce31569c312d33d562f08">maxImpulse</a>, <a class="el" href="classPxContactModifyPair.html">PxContactModifyPair</a> &amp;contactModifyPair)</td></tr>
<tr class="memdesc:ga1acc47dad2914768ee6074320b0a5643"><td class="mdescLeft">&#160;</td><td class="mdescRight">A function called from <a class="el" href="classPxContactModifyCallback.html#a383f0448886bf352215c886b3066f790" title="Passes modifiable arrays of contacts to the application. ">PxContactModifyCallback::onContactModify</a>. The function determines if rigid body contact points recorded for the wheel's <a class="el" href="classPxShape.html" title="Abstract class for collision shapes. ">PxShape</a> are likely to be duplicated and resolved by the wheel's suspension raycast. Contact points that will be resolved by the suspension are ignored. Contact points that are accepted (rather than ignored) are modified to account for the effect of the suspension geometry and the angular speed of the wheel.  <a href="#ga1acc47dad2914768ee6074320b0a5643">More...</a><br /></td></tr>
<tr class="separator:ga1acc47dad2914768ee6074320b0a5643"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga47aff43683966ca9d1118a1bf4a1f5c2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga47aff43683966ca9d1118a1bf4a1f5c2">PxVehicleUpdates</a> (const PxReal timestep, const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;gravity, const <a class="el" href="classPxVehicleDrivableSurfaceToTireFrictionPairs.html">PxVehicleDrivableSurfaceToTireFrictionPairs</a> &amp;vehicleDrivableSurfaceToTireFrictionPairs, const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> nbVehicles, <a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> **vehicles, <a class="el" href="structPxVehicleWheelQueryResult.html">PxVehicleWheelQueryResult</a> *vehicleWheelQueryResults, <a class="el" href="structPxVehicleConcurrentUpdateData.html">PxVehicleConcurrentUpdateData</a> *vehicleConcurrentUpdates=NULL)</td></tr>
<tr class="memdesc:ga47aff43683966ca9d1118a1bf4a1f5c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update an array of vehicles by either applying an acceleration to the rigid body actor associated with each vehicle or by an immediate update of the velocity of the actor.  <a href="#ga47aff43683966ca9d1118a1bf4a1f5c2">More...</a><br /></td></tr>
<tr class="separator:ga47aff43683966ca9d1118a1bf4a1f5c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf9349122c5cf95fec09bd09ce5e540d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#gaf9349122c5cf95fec09bd09ce5e540d2">PxVehiclePostUpdates</a> (const <a class="el" href="structPxVehicleConcurrentUpdateData.html">PxVehicleConcurrentUpdateData</a> *vehicleConcurrentUpdates, const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> nbVehicles, <a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> **vehicles)</td></tr>
<tr class="memdesc:gaf9349122c5cf95fec09bd09ce5e540d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply actor changes that were computed in concurrent calls to PxVehicleUpdates or PxVehicleUpdateSingleVehicleAndStoreTelemetryData but which could not be safely applied due to the concurrency.  <a href="#gaf9349122c5cf95fec09bd09ce5e540d2">More...</a><br /></td></tr>
<tr class="separator:gaf9349122c5cf95fec09bd09ce5e540d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae62e4d3360ae24537d7fe2100e79f24c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#gae62e4d3360ae24537d7fe2100e79f24c">PxVehicleShiftOrigin</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;shift, const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> nbVehicles, <a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> **vehicles)</td></tr>
<tr class="memdesc:gae62e4d3360ae24537d7fe2100e79f24c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shift the origin of vehicles by the specified vector.  <a href="#gae62e4d3360ae24537d7fe2100e79f24c">More...</a><br /></td></tr>
<tr class="separator:gae62e4d3360ae24537d7fe2100e79f24c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae7390efc088e2d8624da2ba007bfbb6e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#gae7390efc088e2d8624da2ba007bfbb6e">PxVehicleIsInAir</a> (const <a class="el" href="structPxVehicleWheelQueryResult.html">PxVehicleWheelQueryResult</a> &amp;vehWheelQueryResults)</td></tr>
<tr class="memdesc:gae7390efc088e2d8624da2ba007bfbb6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test if all wheels of a vehicle are in the air by querying the wheel query data stored in the last call to PxVehicleUpdates. If all wheels are in the air then true is returned.  <a href="#gae7390efc088e2d8624da2ba007bfbb6e">More...</a><br /></td></tr>
<tr class="separator:gae7390efc088e2d8624da2ba007bfbb6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga61b39294176ee679d4d1229d3ad95966"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga61b39294176ee679d4d1229d3ad95966">PxVehicleDrive4WSmoothDigitalRawInputsAndSetAnalogInputs</a> (const <a class="el" href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a> &amp;keySmoothing, const <a class="el" href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable</a>&lt; 8 &gt; &amp;steerVsForwardSpeedTable, const <a class="el" href="classPxVehicleDrive4WRawInputData.html">PxVehicleDrive4WRawInputData</a> &amp;rawInputData, const PxReal timestep, const bool isVehicleInAir, <a class="el" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a> &amp;focusVehicle)</td></tr>
<tr class="memdesc:ga61b39294176ee679d4d1229d3ad95966"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to smooth and set analog vehicle control values (accel,brake,handbrake,steer) from digital inputs (keyboard). Also used to set boolean gearup, geardown values.  <a href="#ga61b39294176ee679d4d1229d3ad95966">More...</a><br /></td></tr>
<tr class="separator:ga61b39294176ee679d4d1229d3ad95966"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga784f2317a01aa2367b6170bfabdc5097"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga784f2317a01aa2367b6170bfabdc5097">PxVehicleDrive4WSmoothAnalogRawInputsAndSetAnalogInputs</a> (const <a class="el" href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a> &amp;padSmoothing, const <a class="el" href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable</a>&lt; 8 &gt; &amp;steerVsForwardSpeedTable, const <a class="el" href="classPxVehicleDrive4WRawInputData.html">PxVehicleDrive4WRawInputData</a> &amp;rawInputData, const PxReal timestep, const bool isVehicleInAir, <a class="el" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a> &amp;focusVehicle)</td></tr>
<tr class="memdesc:ga784f2317a01aa2367b6170bfabdc5097"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to smooth and set analog vehicle control values from analog inputs (gamepad). Also used to set boolean gearup, geardown values.  <a href="#ga784f2317a01aa2367b6170bfabdc5097">More...</a><br /></td></tr>
<tr class="separator:ga784f2317a01aa2367b6170bfabdc5097"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa537690bce749bdce4e5eca80d43d53a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#gaa537690bce749bdce4e5eca80d43d53a">PxVehicleDriveNWSmoothDigitalRawInputsAndSetAnalogInputs</a> (const <a class="el" href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a> &amp;keySmoothing, const <a class="el" href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable</a>&lt; 8 &gt; &amp;steerVsForwardSpeedTable, const <a class="el" href="classPxVehicleDriveNWRawInputData.html">PxVehicleDriveNWRawInputData</a> &amp;rawInputData, const PxReal timestep, const bool isVehicleInAir, <a class="el" href="classPxVehicleDriveNW.html">PxVehicleDriveNW</a> &amp;focusVehicle)</td></tr>
<tr class="memdesc:gaa537690bce749bdce4e5eca80d43d53a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to smooth and set analog vehicle control values (accel,brake,handbrake,steer) from digital inputs (keyboard). Also used to set boolean gearup, geardown values.  <a href="#gaa537690bce749bdce4e5eca80d43d53a">More...</a><br /></td></tr>
<tr class="separator:gaa537690bce749bdce4e5eca80d43d53a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2da633b926f231e27c27dcb877535bc3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga2da633b926f231e27c27dcb877535bc3">PxVehicleDriveNWSmoothAnalogRawInputsAndSetAnalogInputs</a> (const <a class="el" href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a> &amp;padSmoothing, const <a class="el" href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable</a>&lt; 8 &gt; &amp;steerVsForwardSpeedTable, const <a class="el" href="classPxVehicleDriveNWRawInputData.html">PxVehicleDriveNWRawInputData</a> &amp;rawInputData, const PxReal timestep, const bool isVehicleInAir, <a class="el" href="classPxVehicleDriveNW.html">PxVehicleDriveNW</a> &amp;focusVehicle)</td></tr>
<tr class="memdesc:ga2da633b926f231e27c27dcb877535bc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to smooth and set analog vehicle control values from analog inputs (gamepad). Also used to set boolean gearup, geardown values.  <a href="#ga2da633b926f231e27c27dcb877535bc3">More...</a><br /></td></tr>
<tr class="separator:ga2da633b926f231e27c27dcb877535bc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga89b530b003b89280677e09327fbdb606"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga89b530b003b89280677e09327fbdb606">PxVehicleDriveTankSmoothDigitalRawInputsAndSetAnalogInputs</a> (const <a class="el" href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a> &amp;keySmoothing, const <a class="el" href="classPxVehicleDriveTankRawInputData.html">PxVehicleDriveTankRawInputData</a> &amp;rawInputData, const PxReal timestep, <a class="el" href="classPxVehicleDriveTank.html">PxVehicleDriveTank</a> &amp;focusVehicle)</td></tr>
<tr class="memdesc:ga89b530b003b89280677e09327fbdb606"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to smooth and set analog tank control values from digital inputs (keyboard). Also used to set boolean gearup, geardown values.  <a href="#ga89b530b003b89280677e09327fbdb606">More...</a><br /></td></tr>
<tr class="separator:ga89b530b003b89280677e09327fbdb606"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b7e00f8931f3b84d3aa6510d7a6cfaa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga2b7e00f8931f3b84d3aa6510d7a6cfaa">PxVehicleDriveTankSmoothAnalogRawInputsAndSetAnalogInputs</a> (const <a class="el" href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a> &amp;padSmoothing, const <a class="el" href="classPxVehicleDriveTankRawInputData.html">PxVehicleDriveTankRawInputData</a> &amp;rawInputData, const PxReal timestep, <a class="el" href="classPxVehicleDriveTank.html">PxVehicleDriveTank</a> &amp;focusVehicle)</td></tr>
<tr class="memdesc:ga2b7e00f8931f3b84d3aa6510d7a6cfaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to smooth and set analog tank control values from analog inputs (gamepad). Also used to set boolean gearup, geardown values.  <a href="#ga2b7e00f8931f3b84d3aa6510d7a6cfaa">More...</a><br /></td></tr>
<tr class="separator:ga2b7e00f8931f3b84d3aa6510d7a6cfaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa5280613d99e11cf175331dfff96df34"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#gaa5280613d99e11cf175331dfff96df34">PxVehicle4WEnable3WTadpoleMode</a> (<a class="el" href="classPxVehicleWheelsSimData.html">PxVehicleWheelsSimData</a> &amp;wheelsSimData, <a class="el" href="classPxVehicleWheelsDynData.html">PxVehicleWheelsDynData</a> &amp;wheelsDynData, <a class="el" href="classPxVehicleDriveSimData4W.html">PxVehicleDriveSimData4W</a> &amp;driveSimData)</td></tr>
<tr class="memdesc:gaa5280613d99e11cf175331dfff96df34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reconfigure a PxVehicle4W instance as a three-wheeled car with tadpole config (2 front wheels, 1 rear wheel)  <a href="#gaa5280613d99e11cf175331dfff96df34">More...</a><br /></td></tr>
<tr class="separator:gaa5280613d99e11cf175331dfff96df34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga34079f5978ce1dfcf2a991c0458108f2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga34079f5978ce1dfcf2a991c0458108f2">PxVehicle4WEnable3WDeltaMode</a> (<a class="el" href="classPxVehicleWheelsSimData.html">PxVehicleWheelsSimData</a> &amp;wheelsSimData, <a class="el" href="classPxVehicleWheelsDynData.html">PxVehicleWheelsDynData</a> &amp;wheelsDynData, <a class="el" href="classPxVehicleDriveSimData4W.html">PxVehicleDriveSimData4W</a> &amp;driveSimData)</td></tr>
<tr class="memdesc:ga34079f5978ce1dfcf2a991c0458108f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reconfigure a PxVehicle4W instance as a three-wheeled car with delta config (1 front wheel, 2 rear wheels)  <a href="#ga34079f5978ce1dfcf2a991c0458108f2">More...</a><br /></td></tr>
<tr class="separator:ga34079f5978ce1dfcf2a991c0458108f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabfa604162177064bc35b16627f2053d1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#gabfa604162177064bc35b16627f2053d1">PxVehicleComputeSprungMasses</a> (const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> nbSprungMasses, const <a class="el" href="classPxVec3.html">PxVec3</a> *sprungMassCoordinates, const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;centreOfMass, const PxReal totalMass, const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> gravityDirection, PxReal *sprungMasses)</td></tr>
<tr class="memdesc:gabfa604162177064bc35b16627f2053d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the sprung masses of the suspension springs given (i) the number of sprung masses, (ii) coordinates of the sprung masses, (iii) the center of mass offset of the rigid body, (iv) the total mass of the rigid body, and (v) the direction of gravity (0 for x-axis, 1 for y-axis, 2 for z-axis).  <a href="#gabfa604162177064bc35b16627f2053d1">More...</a><br /></td></tr>
<tr class="separator:gabfa604162177064bc35b16627f2053d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga946f4d23cff6fdf36dca694641e20779"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#ga946f4d23cff6fdf36dca694641e20779">PxVehicleUpdateCMassLocalPose</a> (const <a class="el" href="classPxTransform.html">PxTransform</a> &amp;oldCMassLocalPose, const <a class="el" href="classPxTransform.html">PxTransform</a> &amp;newCMassLocalPose, const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> gravityDirection, <a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> *vehicle)</td></tr>
<tr class="memdesc:ga946f4d23cff6fdf36dca694641e20779"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reconfigure the vehicle to reflect a new center of mass local pose that has been applied to the actor. The function requires (i) the center of mass local pose that was last used to configure the vehicle and the vehicle's actor, (ii) the new center of mass local pose that has been applied to the vehicle's actor and will now be applied to the vehicle, and (iii) the direction of gravity (0 for x-axis, 1 for y-axis, 2 for z-axis)  <a href="#ga946f4d23cff6fdf36dca694641e20779">More...</a><br /></td></tr>
<tr class="separator:ga946f4d23cff6fdf36dca694641e20779"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3f9a31ecbd63962ee372a8b922dd23c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vehicle.html#gaa3f9a31ecbd63962ee372a8b922dd23c">PxVehicleCopyDynamicsData</a> (const <a class="el" href="classPxVehicleCopyDynamicsMap.html">PxVehicleCopyDynamicsMap</a> &amp;wheelMap, const <a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> &amp;src, <a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> *trg)</td></tr>
<tr class="memdesc:gaa3f9a31ecbd63962ee372a8b922dd23c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy dynamics data from src to trg, including wheel rotation speed, wheel rotation angle, engine rotation speed etc.  <a href="#gaa3f9a31ecbd63962ee372a8b922dd23c">More...</a><br /></td></tr>
<tr class="separator:gaa3f9a31ecbd63962ee372a8b922dd23c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga0c3a7dea79cf9968bd350a49ce0fd770"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0c3a7dea79cf9968bd350a49ce0fd770">&#9670;&nbsp;</a></span>PX_DEBUG_VEHICLE_ON</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PX_DEBUG_VEHICLE_ON&#160;&#160;&#160;(1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compiler setting to enable recording of telemetry data. </p>
<dl class="section see"><dt>See also</dt><dd>PxVehicleUpdateSingleVehicleAndStoreTelemetryData, PxVehicleTelemetryData </dd></dl>

</div>
</div>
<a id="gaa52f6479b78eccd706af05e1e0a0c43f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa52f6479b78eccd706af05e1e0a0c43f">&#9670;&nbsp;</a></span>PX_MAX_NB_WHEELS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PX_MAX_NB_WHEELS&#160;&#160;&#160;(20)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This number is the maximum number of wheels allowed for a vehicle. </p>

<p class="reference">Referenced by <a class="el" href="classPxVehicleCopyDynamicsMap.html#a46e1abd50a1efeb2c4d1cd65454b284d">PxVehicleCopyDynamicsMap::PxVehicleCopyDynamicsMap()</a>, and <a class="el" href="classPxVehicleDifferentialNWData.html#aa363bb07cd4533cfee8a59bc14d03c10">PxVehicleDifferentialNWData::PxVehicleDifferentialNWData()</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga2b7b927dd3d949d50a3f42c695264f43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2b7b927dd3d949d50a3f42c695264f43">&#9670;&nbsp;</a></span>PxVehicleComputeTireForce</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* PxVehicleComputeTireForce) (const void *shaderData, const PxF32 tireFriction, const PxF32 longSlip, const PxF32 latSlip, const PxF32 camber, const PxF32 wheelOmega, const PxF32 wheelRadius, const PxF32 recipWheelRadius, const PxF32 restTireLoad, const PxF32 normalisedTireLoad, const PxF32 tireLoad, const PxF32 gravity, const PxF32 recipGravity, PxF32 &amp;wheelTorque, PxF32 &amp;tireLongForceMag, PxF32 &amp;tireLatForceMag, PxF32 &amp;tireAlignMoment)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prototype of shader function that is used to compute wheel torque and tire forces. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">shaderData</td><td>is the shader data for the tire being processed. The shader data describes the tire data in the format required by the tire model that is implemented by the shader function. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">tireFriction</td><td>is the value of friction for the contact between the tire and the ground. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">longSlip</td><td>is the value of longitudinal slip experienced by the tire. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">latSlip</td><td>is the value of lateral slip experienced by the tire. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">camber</td><td>is the camber angle of the tire in radians. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">wheelOmega</td><td>is the rotational speed of the wheel. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">wheelRadius</td><td>is the distance from the tire surface to the center of the wheel. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">recipWheelRadius</td><td>is the reciprocal of wheelRadius. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">restTireLoad</td><td>is the load force experienced by the tire when the vehicle is at rest. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">normalisedTireLoad</td><td>is a pre-computed value equal to the load force on the tire divided by restTireLoad. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">tireLoad</td><td>is the load force currently experienced by the tire (= restTireLoad*normalisedTireLoad) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">gravity</td><td>is the magnitude of gravitational acceleration. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">recipGravity</td><td>is the reciprocal of the magnitude of gravitational acceleration. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">wheelTorque</td><td>is the torque that is to be applied to the wheel around the wheel's axle. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">tireLongForceMag</td><td>is the magnitude of the longitudinal tire force to be applied to the vehicle's rigid body. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">tireLatForceMag</td><td>is the magnitude of the lateral tire force to be applied to the vehicle's rigid body. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">tireAlignMoment</td><td>is the aligning moment of the tire that is to be applied to the vehicle's rigid body (not currently used). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxVehicleWheelsDynData.html#a1d7405c9aeb529ca1a2bf945edd3d83f" title="Set the tire force shader function. ">PxVehicleWheelsDynData::setTireForceShaderFunction</a>, <a class="el" href="classPxVehicleWheelsDynData.html#a25312456167dbd6611450a593444928e" title="Set the tire force shader data for a specific tire. ">PxVehicleWheelsDynData::setTireForceShaderData</a> </dd></dl>

</div>
</div>
<a id="gab5de07a7bd475df4e4c41f3f11ddcdb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab5de07a7bd475df4e4c41f3f11ddcdb5">&#9670;&nbsp;</a></span>PxVehicleWheelsSimFlags</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classPxFlags.html">PxFlags</a>&lt;<a class="el" href="structPxVehicleWheelsSimFlag.html#ae22cac8835a33a55a7bddc2223638d60">PxVehicleWheelsSimFlag::Enum</a>, <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&gt; <a class="el" href="group__vehicle.html#gab5de07a7bd475df4e4c41f3f11ddcdb5">PxVehicleWheelsSimFlags</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Collection of set bits defined in <a class="el" href="structPxVehicleWheelsSimFlag.html" title="Flags to configure the vehicle wheel simulation. ">PxVehicleWheelsSimFlag</a>. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structPxVehicleWheelsSimFlag.html" title="Flags to configure the vehicle wheel simulation. ">PxVehicleWheelsSimFlag</a> </dd></dl>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga8d4cfac998db5828bcfff2253c3d1fcc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8d4cfac998db5828bcfff2253c3d1fcc">&#9670;&nbsp;</a></span>PX_COMPILE_TIME_ASSERT()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PX_COMPILE_TIME_ASSERT </td>
          <td>(</td>
          <td class="paramtype">0&#160;</td>
          <td class="paramname"> = <code>=(sizeof(<a class="el" href="classPxVehicleChassisData.html">PxVehicleChassisData</a>)&amp;0x0f)</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga9e1512107497cdfcc620b575d3c135e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9e1512107497cdfcc620b575d3c135e6">&#9670;&nbsp;</a></span>PxCloseVehicleSDK()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gaea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> void <a class="el" href="group__foundation.html#ga65a319adb859941e5bd98575280b8d19">PX_CALL_CONV</a> PxCloseVehicleSDK </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxSerializationRegistry.html">PxSerializationRegistry</a> *&#160;</td>
          <td class="paramname"><em>serializationRegistry</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Shut down the PhysXVehicle library. </p>
<p>Call this function as part of the physx shutdown process.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">serializationRegistry</td><td><a class="el" href="classPxSerializationRegistry.html" title="Class serving as a registry for XML (RepX) and binary serializable types. ">PxSerializationRegistry</a> instance, if non-NULL must be the same as passed into PxInitVehicleSDK.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This function must be called prior to shutdown of <a class="el" href="classPxFoundation.html" title="Foundation SDK singleton class. ">PxFoundation</a> and <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK. ">PxPhysics</a>. </dd>
<dd>
If the <a class="el" href="classPxSerializationRegistry.html" title="Class serving as a registry for XML (RepX) and binary serializable types. ">PxSerializationRegistry</a> instance is specified this function must additionally be called prior to shutdown of PhysXExtensions.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__vehicle.html#gaa7aaf3de1f2da04c2617a36d053398ca" title="Initialize the PhysXVehicle library. ">PxInitVehicleSDK</a> </dd></dl>

</div>
</div>
<a id="gaa7aaf3de1f2da04c2617a36d053398ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa7aaf3de1f2da04c2617a36d053398ca">&#9670;&nbsp;</a></span>PxInitVehicleSDK()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gaea189596f11f07c586d4757cc67e8f7f">PX_C_EXPORT</a> bool <a class="el" href="group__foundation.html#ga65a319adb859941e5bd98575280b8d19">PX_CALL_CONV</a> PxInitVehicleSDK </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxPhysics.html">PxPhysics</a> &amp;&#160;</td>
          <td class="paramname"><em>physics</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxSerializationRegistry.html">PxSerializationRegistry</a> *&#160;</td>
          <td class="paramname"><em>serializationRegistry</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize the PhysXVehicle library. </p>
<p>Call this before using any of the vehicle functions.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">physics</td><td>The <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK. ">PxPhysics</a> instance. </td></tr>
    <tr><td class="paramname">serializationRegistry</td><td><a class="el" href="classPxSerializationRegistry.html" title="Class serving as a registry for XML (RepX) and binary serializable types. ">PxSerializationRegistry</a> instance, if NULL vehicle serialization is not supported.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This function must be called after <a class="el" href="classPxFoundation.html" title="Foundation SDK singleton class. ">PxFoundation</a> and <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK. ">PxPhysics</a> instances have been created. </dd>
<dd>
If a <a class="el" href="classPxSerializationRegistry.html" title="Class serving as a registry for XML (RepX) and binary serializable types. ">PxSerializationRegistry</a> instance is specified then PhysXVehicle is also dependent on PhysXExtensions.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__vehicle.html#ga9e1512107497cdfcc620b575d3c135e6" title="Shut down the PhysXVehicle library. ">PxCloseVehicleSDK</a> </dd></dl>

</div>
</div>
<a id="ga34079f5978ce1dfcf2a991c0458108f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga34079f5978ce1dfcf2a991c0458108f2">&#9670;&nbsp;</a></span>PxVehicle4WEnable3WDeltaMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicle4WEnable3WDeltaMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxVehicleWheelsSimData.html">PxVehicleWheelsSimData</a> &amp;&#160;</td>
          <td class="paramname"><em>wheelsSimData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleWheelsDynData.html">PxVehicleWheelsDynData</a> &amp;&#160;</td>
          <td class="paramname"><em>wheelsDynData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleDriveSimData4W.html">PxVehicleDriveSimData4W</a> &amp;&#160;</td>
          <td class="paramname"><em>driveSimData</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reconfigure a PxVehicle4W instance as a three-wheeled car with delta config (1 front wheel, 2 rear wheels) </p>
<dl class="section note"><dt>Note</dt><dd>The front-left wheel is removed and the front-right wheel is positioned at the centre of the front axle. The suspension of the front-right wheel is modified to support the entire mass of the front car while preserving its natural frequency and damping ratio.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">wheelsSimData</td><td>is the data describing the wheels/suspensions/tires of the vehicle. </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">wheelsDynData</td><td>is the data describing the dynamic state of the wheels of the vehicle. </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">driveSimData</td><td>is the data describing the drive model of the vehicle. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaa5280613d99e11cf175331dfff96df34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa5280613d99e11cf175331dfff96df34">&#9670;&nbsp;</a></span>PxVehicle4WEnable3WTadpoleMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicle4WEnable3WTadpoleMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxVehicleWheelsSimData.html">PxVehicleWheelsSimData</a> &amp;&#160;</td>
          <td class="paramname"><em>wheelsSimData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleWheelsDynData.html">PxVehicleWheelsDynData</a> &amp;&#160;</td>
          <td class="paramname"><em>wheelsDynData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleDriveSimData4W.html">PxVehicleDriveSimData4W</a> &amp;&#160;</td>
          <td class="paramname"><em>driveSimData</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reconfigure a PxVehicle4W instance as a three-wheeled car with tadpole config (2 front wheels, 1 rear wheel) </p>
<dl class="section note"><dt>Note</dt><dd>The rear-left wheel is removed and the rear-right wheel is positioned at the centre of the rear axle. The suspension of the rear-right wheel is modified to support the entire mass of the front car while preserving its natural frequency and damping ratio.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">wheelsSimData</td><td>is the data describing the wheels/suspensions/tires of the vehicle. </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">wheelsDynData</td><td>is the data describing the dynamic state of the wheels of the vehicle. </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">driveSimData</td><td>is the data describing the drive model of the vehicle. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gabfa604162177064bc35b16627f2053d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabfa604162177064bc35b16627f2053d1">&#9670;&nbsp;</a></span>PxVehicleComputeSprungMasses()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleComputeSprungMasses </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>nbSprungMasses</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> *&#160;</td>
          <td class="paramname"><em>sprungMassCoordinates</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>centreOfMass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxReal&#160;</td>
          <td class="paramname"><em>totalMass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>gravityDirection</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PxReal *&#160;</td>
          <td class="paramname"><em>sprungMasses</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compute the sprung masses of the suspension springs given (i) the number of sprung masses, (ii) coordinates of the sprung masses, (iii) the center of mass offset of the rigid body, (iv) the total mass of the rigid body, and (v) the direction of gravity (0 for x-axis, 1 for y-axis, 2 for z-axis). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nbSprungMasses</td><td>is the number of sprung masses of the vehicle. This value corresponds to the number of wheels on the vehicle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">sprungMassCoordinates</td><td>are the coordinates of the sprung masses relative to the actor. The array sprungMassCoordinates must be of length nbSprungMasses or greater. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">centreOfMass</td><td>is the coordinate of the center of mass of the rigid body relative to the actor. This value corresponds to the value set by <a class="el" href="classPxRigidBody.html#ab152773926fe7b222d61e982c3cb6adf" title="Sets the pose of the center of mass relative to the actor. ">PxRigidBody::setCMassLocalPose</a>. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">totalMass</td><td>is the total mass of all the sprung masses. This value corresponds to the value set by <a class="el" href="classPxRigidBody.html#a8a697a7a4b9bdd2c83a68e84b9bc3a35" title="Sets the mass of a dynamic actor. ">PxRigidBody::setMass</a>. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">gravityDirection</td><td>is an integer describing the direction of gravitational acceleration. A value of 0 corresponds to (-1,0,0), a value of 1 corresponds to (0,-1,0) and a value of 2 corresponds to (0,0,-1). </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">sprungMasses</td><td>are the masses to set in the associated suspension data with <a class="el" href="classPxVehicleSuspensionData.html#a23f96767e47ea394bbb10ee597f2d9d3" title="Mass of vehicle that is supported by suspension spring. ">PxVehicleSuspensionData::mSprungMass</a>. The sprungMasses array must be of length nbSprungMasses or greater. Each element in the sprungMasses array corresponds to the suspension located at the same array element in sprungMassCoordinates. The center of mass of the masses in sprungMasses with the coordinates in sprungMassCoordinates satisfy the specified centerOfMass. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaa3f9a31ecbd63962ee372a8b922dd23c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa3f9a31ecbd63962ee372a8b922dd23c">&#9670;&nbsp;</a></span>PxVehicleCopyDynamicsData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleCopyDynamicsData </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVehicleCopyDynamicsMap.html">PxVehicleCopyDynamicsMap</a> &amp;&#160;</td>
          <td class="paramname"><em>wheelMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> *&#160;</td>
          <td class="paramname"><em>trg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy dynamics data from src to trg, including wheel rotation speed, wheel rotation angle, engine rotation speed etc. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">wheelMap</td><td>- describes the mapping between the wheels in src and the wheels in trg.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">src</td><td>- according to the wheel mapping stored in wheelMap, the dynamics data in src wheels are copied to the corresponding wheels in trg.</td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">trg</td><td>- according to wheel mapping stored in wheelMap, the wheels in trg are given the dynamics data of the corresponding wheels in src.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>wheelMap must specify a unique mapping between the wheels in src and the wheels in trg.</dd>
<dd>
In the event that src has fewer wheels than trg, wheelMap must specify a unique mapping between each src wheel to a trg wheel.</dd>
<dd>
In the event that src has more wheels than trg, wheelMap must specify a unique mapping to each trg wheel from a src wheel.</dd>
<dd>
In the event that src has fewer wheels than trg, the trg wheels that are not mapped to a src wheel are given the average wheel rotation speed of all enabled src wheels.</dd>
<dd>
src and trg must be the same vehicle type. </dd></dl>

</div>
</div>
<a id="ga784f2317a01aa2367b6170bfabdc5097"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga784f2317a01aa2367b6170bfabdc5097">&#9670;&nbsp;</a></span>PxVehicleDrive4WSmoothAnalogRawInputsAndSetAnalogInputs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleDrive4WSmoothAnalogRawInputsAndSetAnalogInputs </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a> &amp;&#160;</td>
          <td class="paramname"><em>padSmoothing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable</a>&lt; 8 &gt; &amp;&#160;</td>
          <td class="paramname"><em>steerVsForwardSpeedTable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVehicleDrive4WRawInputData.html">PxVehicleDrive4WRawInputData</a> &amp;&#160;</td>
          <td class="paramname"><em>rawInputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxReal&#160;</td>
          <td class="paramname"><em>timestep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>isVehicleInAir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a> &amp;&#160;</td>
          <td class="paramname"><em>focusVehicle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Used to smooth and set analog vehicle control values from analog inputs (gamepad). Also used to set boolean gearup, geardown values. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">padSmoothing</td><td>describes how quickly the control values applied to the vehicle blend from the current vehicle values towards the raw analog values from the gamepad. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">steerVsForwardSpeedTable</td><td>is a table of maximum allowed steer versus forward vehicle speed. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rawInputData</td><td>is the state of all gamepad analog inputs that will be used control the vehicle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">timestep</td><td>is the time that has passed since the last call to PxVehicleDrive4WSmoothDigitalRawInputsAndSetAnalogInputs </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">isVehicleInAir</td><td>describes if the vehicle is in the air or on the ground and is used to decide whether or not to apply steerVsForwardSpeedTable. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">focusVehicle</td><td>is the vehicle that will be given analog control values arising from the gamepad inputs. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga61b39294176ee679d4d1229d3ad95966"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga61b39294176ee679d4d1229d3ad95966">&#9670;&nbsp;</a></span>PxVehicleDrive4WSmoothDigitalRawInputsAndSetAnalogInputs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleDrive4WSmoothDigitalRawInputsAndSetAnalogInputs </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a> &amp;&#160;</td>
          <td class="paramname"><em>keySmoothing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable</a>&lt; 8 &gt; &amp;&#160;</td>
          <td class="paramname"><em>steerVsForwardSpeedTable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVehicleDrive4WRawInputData.html">PxVehicleDrive4WRawInputData</a> &amp;&#160;</td>
          <td class="paramname"><em>rawInputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxReal&#160;</td>
          <td class="paramname"><em>timestep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>isVehicleInAir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a> &amp;&#160;</td>
          <td class="paramname"><em>focusVehicle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Used to smooth and set analog vehicle control values (accel,brake,handbrake,steer) from digital inputs (keyboard). Also used to set boolean gearup, geardown values. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">keySmoothing</td><td>describes the rise and fall rates of the corresponding analog values when keys are pressed on and off. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">steerVsForwardSpeedTable</td><td>is a table of maximum allowed steer versus forward vehicle speed. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rawInputData</td><td>is the state of all digital inputs that control the vehicle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">timestep</td><td>is the time that has passed since the last call to PxVehicleDrive4WSmoothDigitalRawInputsAndSetAnalogInputs </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">isVehicleInAir</td><td>describes if the vehicle is in the air or on the ground and is used to decide whether or not to apply steerVsForwardSpeedTable. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">focusVehicle</td><td>is the vehicle that will be given analog and gearup/geardown control values arising from the digital inputs. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga2da633b926f231e27c27dcb877535bc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2da633b926f231e27c27dcb877535bc3">&#9670;&nbsp;</a></span>PxVehicleDriveNWSmoothAnalogRawInputsAndSetAnalogInputs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleDriveNWSmoothAnalogRawInputsAndSetAnalogInputs </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a> &amp;&#160;</td>
          <td class="paramname"><em>padSmoothing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable</a>&lt; 8 &gt; &amp;&#160;</td>
          <td class="paramname"><em>steerVsForwardSpeedTable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVehicleDriveNWRawInputData.html">PxVehicleDriveNWRawInputData</a> &amp;&#160;</td>
          <td class="paramname"><em>rawInputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxReal&#160;</td>
          <td class="paramname"><em>timestep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>isVehicleInAir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleDriveNW.html">PxVehicleDriveNW</a> &amp;&#160;</td>
          <td class="paramname"><em>focusVehicle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Used to smooth and set analog vehicle control values from analog inputs (gamepad). Also used to set boolean gearup, geardown values. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">padSmoothing</td><td>describes how quickly the control values applied to the vehicle blend from the current vehicle values towards the raw analog values from the gamepad. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">steerVsForwardSpeedTable</td><td>is a table of maximum allowed steer versus forward vehicle speed. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rawInputData</td><td>is the state of all gamepad analog inputs that will be used control the vehicle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">timestep</td><td>is the time that has passed since the last call to PxVehicleDrive4WSmoothDigitalRawInputsAndSetAnalogInputs </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">isVehicleInAir</td><td>describes if the vehicle is in the air or on the ground and is used to decide whether or not to apply steerVsForwardSpeedTable. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">focusVehicle</td><td>is the vehicle that will be given analog control values arising from the gamepad inputs. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaa537690bce749bdce4e5eca80d43d53a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa537690bce749bdce4e5eca80d43d53a">&#9670;&nbsp;</a></span>PxVehicleDriveNWSmoothDigitalRawInputsAndSetAnalogInputs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleDriveNWSmoothDigitalRawInputsAndSetAnalogInputs </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a> &amp;&#160;</td>
          <td class="paramname"><em>keySmoothing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxFixedSizeLookupTable.html">PxFixedSizeLookupTable</a>&lt; 8 &gt; &amp;&#160;</td>
          <td class="paramname"><em>steerVsForwardSpeedTable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVehicleDriveNWRawInputData.html">PxVehicleDriveNWRawInputData</a> &amp;&#160;</td>
          <td class="paramname"><em>rawInputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxReal&#160;</td>
          <td class="paramname"><em>timestep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>isVehicleInAir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleDriveNW.html">PxVehicleDriveNW</a> &amp;&#160;</td>
          <td class="paramname"><em>focusVehicle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Used to smooth and set analog vehicle control values (accel,brake,handbrake,steer) from digital inputs (keyboard). Also used to set boolean gearup, geardown values. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">keySmoothing</td><td>describes the rise and fall rates of the corresponding analog values when keys are pressed on and off. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">steerVsForwardSpeedTable</td><td>is a table of maximum allowed steer versus forward vehicle speed. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rawInputData</td><td>is the state of all digital inputs that control the vehicle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">timestep</td><td>is the time that has passed since the last call to PxVehicleDrive4WSmoothDigitalRawInputsAndSetAnalogInputs </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">isVehicleInAir</td><td>describes if the vehicle is in the air or on the ground and is used to decide whether or not to apply steerVsForwardSpeedTable. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">focusVehicle</td><td>is the vehicle that will be given analog and gearup/geardown control values arising from the digital inputs. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga2b7e00f8931f3b84d3aa6510d7a6cfaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2b7e00f8931f3b84d3aa6510d7a6cfaa">&#9670;&nbsp;</a></span>PxVehicleDriveTankSmoothAnalogRawInputsAndSetAnalogInputs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleDriveTankSmoothAnalogRawInputsAndSetAnalogInputs </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structPxVehiclePadSmoothingData.html">PxVehiclePadSmoothingData</a> &amp;&#160;</td>
          <td class="paramname"><em>padSmoothing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVehicleDriveTankRawInputData.html">PxVehicleDriveTankRawInputData</a> &amp;&#160;</td>
          <td class="paramname"><em>rawInputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxReal&#160;</td>
          <td class="paramname"><em>timestep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleDriveTank.html">PxVehicleDriveTank</a> &amp;&#160;</td>
          <td class="paramname"><em>focusVehicle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Used to smooth and set analog tank control values from analog inputs (gamepad). Also used to set boolean gearup, geardown values. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">padSmoothing</td><td>describes how quickly the control values applied to the vehicle blend from the current vehicle values towards the raw analog values from the gamepad. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rawInputData</td><td>is the state of all gamepad analog inputs that will be used control the vehicle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">timestep</td><td>is the time that has passed since the last call to PxVehicleDrive4WSmoothDigitalRawInputsAndSetAnalogInputs </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">focusVehicle</td><td>is the vehicle that will be given analog control values arising from the gamepad inputs. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga89b530b003b89280677e09327fbdb606"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga89b530b003b89280677e09327fbdb606">&#9670;&nbsp;</a></span>PxVehicleDriveTankSmoothDigitalRawInputsAndSetAnalogInputs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleDriveTankSmoothDigitalRawInputsAndSetAnalogInputs </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structPxVehicleKeySmoothingData.html">PxVehicleKeySmoothingData</a> &amp;&#160;</td>
          <td class="paramname"><em>keySmoothing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVehicleDriveTankRawInputData.html">PxVehicleDriveTankRawInputData</a> &amp;&#160;</td>
          <td class="paramname"><em>rawInputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxReal&#160;</td>
          <td class="paramname"><em>timestep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleDriveTank.html">PxVehicleDriveTank</a> &amp;&#160;</td>
          <td class="paramname"><em>focusVehicle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Used to smooth and set analog tank control values from digital inputs (keyboard). Also used to set boolean gearup, geardown values. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">keySmoothing</td><td>describes the rise and fall rates of the corresponding analog values when keys are pressed on and off. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rawInputData</td><td>is the state of all digital inputs that control the vehicle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">timestep</td><td>is the time that has passed since the last call to PxVehicleDrive4WSmoothDigitalRawInputsAndSetAnalogInputs </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">focusVehicle</td><td>is the vehicle that will be given analog and gearup/geardown control values arising from the digital inputs. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae7390efc088e2d8624da2ba007bfbb6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae7390efc088e2d8624da2ba007bfbb6e">&#9670;&nbsp;</a></span>PxVehicleIsInAir()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool PxVehicleIsInAir </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structPxVehicleWheelQueryResult.html">PxVehicleWheelQueryResult</a> &amp;&#160;</td>
          <td class="paramname"><em>vehWheelQueryResults</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test if all wheels of a vehicle are in the air by querying the wheel query data stored in the last call to PxVehicleUpdates. If all wheels are in the air then true is returned. </p>
<dl class="section note"><dt>Note</dt><dd>False is returned if any wheel can reach to the ground.</dd>
<dd>
If vehWheelQueryResults.wheelQueryResults is NULL or vehWheelQueryResults.nbWheelQueryResults is 0 then true is returned. This function does not account for wheels that have been disabled since the last execution of PxVehicleUpdates so it is possible that wheels disabled more recently than the last call to PxVehicleUpdates report are treated as touching the ground.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>True if the vehicle is in the air, false if any wheel is touching the ground. </dd></dl>

</div>
</div>
<a id="ga1acc47dad2914768ee6074320b0a5643"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1acc47dad2914768ee6074320b0a5643">&#9670;&nbsp;</a></span>PxVehicleModifyWheelContacts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> PxVehicleModifyWheelContacts </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> &amp;&#160;</td>
          <td class="paramname"><em>vehicle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>wheelId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxF32&#160;</td>
          <td class="paramname"><em>wheelTangentVelocityMultiplier</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxReal&#160;</td>
          <td class="paramname"><em>maxImpulse</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxContactModifyPair.html">PxContactModifyPair</a> &amp;&#160;</td>
          <td class="paramname"><em>contactModifyPair</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A function called from <a class="el" href="classPxContactModifyCallback.html#a383f0448886bf352215c886b3066f790" title="Passes modifiable arrays of contacts to the application. ">PxContactModifyCallback::onContactModify</a>. The function determines if rigid body contact points recorded for the wheel's <a class="el" href="classPxShape.html" title="Abstract class for collision shapes. ">PxShape</a> are likely to be duplicated and resolved by the wheel's suspension raycast. Contact points that will be resolved by the suspension are ignored. Contact points that are accepted (rather than ignored) are modified to account for the effect of the suspension geometry and the angular speed of the wheel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">vehicle</td><td>is a reference to the <a class="el" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with just wheels...">PxVehicleWheels</a> instance that owns the wheel</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">wheelId</td><td>is the id of the wheel</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">wheelTangentVelocityMultiplier</td><td>determines the amount of wheel angular velocity that is used to modify the target relative velocity of the contact. The target relative velocity is modified by adding a vector equal to the tangent velocity of the rotating wheel at the contact point and scaled by wheelTangentVelocityMultiplier. The value of wheelTangentVelocityMultiplier is limited to the range (0,1). Higher values mimic higher values of friction and tire load, while lower values mimic lower values of friction and tire load.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">maxImpulse</td><td>determines the maximum impulse strength that the contacts can apply when a wheel is in contact with a <a class="el" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK. ">PxRigidDynamic</a>. This value is ignored for contacts with <a class="el" href="classPxRigidStatic.html" title="PxRigidStatic represents a static rigid body simulation object in the physics SDK. ">PxRigidStatic</a> instances.</td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">contactModifyPair</td><td>describes the set of contacts involving the <a class="el" href="classPxShape.html" title="Abstract class for collision shapes. ">PxShape</a> of the specified wheel and one other shape. The contacts in the contact set are ignored or modified as required.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>[in] Contact points are accepted or rejected using the threshold angles specified in the function PxVehicleSetSweepHitRejectionAngles.</dd>
<dd>
If a contact point is not rejected it is modified to account for the wheel rotation speed.</dd>
<dd>
Set maxImpulse to PX_MAX_F32 to allow any impulse value to be applied.</dd>
<dd>
Reduce maxImpulse if the wheels are frequently colliding with light objects with mass much less than the vehicle's mass. Reducing this value encourages numerical stability.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxContactModifyCallback.html#a383f0448886bf352215c886b3066f790" title="Passes modifiable arrays of contacts to the application. ">PxContactModifyCallback::onContactModify</a>, <a class="el" href="group__vehicle.html#gaf1eb208ee9ffdbfa91d20ee3bb5087e0" title="Set threshold angles that are used to determine if a wheel hit is to be resolved by vehicle suspensio...">PxVehicleSetSweepHitRejectionAngles</a> </dd></dl>

</div>
</div>
<a id="gaf9349122c5cf95fec09bd09ce5e540d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf9349122c5cf95fec09bd09ce5e540d2">&#9670;&nbsp;</a></span>PxVehiclePostUpdates()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehiclePostUpdates </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structPxVehicleConcurrentUpdateData.html">PxVehicleConcurrentUpdateData</a> *&#160;</td>
          <td class="paramname"><em>vehicleConcurrentUpdates</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>nbVehicles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> **&#160;</td>
          <td class="paramname"><em>vehicles</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Apply actor changes that were computed in concurrent calls to PxVehicleUpdates or PxVehicleUpdateSingleVehicleAndStoreTelemetryData but which could not be safely applied due to the concurrency. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">vehicleConcurrentUpdates</td><td>is an array of length nbVehicles where vehicleConcurrentUpdates[i] contains data describing actor changes that were computed for vehicles[i] during concurrent calls to PxVehicleUpdates or PxVehicleUpdateSingleVehicleAndStoreTelemetryData.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nbVehicles</td><td>is the number of vehicles pointers in the vehicles array</td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">vehicles</td><td>is an array of length nbVehicles containing all vehicles that were partially updated in concurrent calls to PxVehicleUpdates or PxVehicleUpdateSingleVehicleAndStoreTelemetryData.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__vehicle.html#ga47aff43683966ca9d1118a1bf4a1f5c2" title="Update an array of vehicles by either applying an acceleration to the rigid body actor associated wit...">PxVehicleUpdates</a>, PxVehicleUpdateSingleVehicleAndStoreTelemetryData </dd></dl>

</div>
</div>
<a id="ga7c8330d753c24dc9a14d11a0355768a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7c8330d753c24dc9a14d11a0355768a9">&#9670;&nbsp;</a></span>PxVehicleSetBasisVectors()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleSetBasisVectors </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>up</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>forward</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the basis vectors of the vehicle simulation. </p>
<p>Default values <a class="el" href="classPxVec3.html" title="3 Element vector class. ">PxVec3(0,1,0)</a>, <a class="el" href="classPxVec3.html" title="3 Element vector class. ">PxVec3(0,0,1)</a></p>
<p>Call this function before using PxVehicleUpdates unless the default values are correct. </p>

</div>
</div>
<a id="ga4eb698c19004af6a07c2b2a666f0c1ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4eb698c19004af6a07c2b2a666f0c1ce">&#9670;&nbsp;</a></span>PxVehicleSetMaxHitActorAcceleration()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleSetMaxHitActorAcceleration </td>
          <td>(</td>
          <td class="paramtype">const PxF32&#160;</td>
          <td class="paramname"><em>maxHitActorAcceleration</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determine the maximum acceleration experienced by <a class="el" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK. ">PxRigidDynamic</a> instances that are found to be in contact with a wheel. </p>
<dl class="section note"><dt>Note</dt><dd>Newton's Third Law states that every force has an equal and opposite force. As a consequence, forces applied to the suspension must be applied to dynamic objects that lie under the wheel. This can lead to instabilities, particularly when a heavy wheel is driving on a light object. The value of maxHitActorAcceleration clamps the applied force so that it never generates an acceleration greater than the specified value.</dd>
<dd>
Default value of maxHitActorAcceleration is PX_MAX_REAL </dd></dl>

</div>
</div>
<a id="gaf1eb208ee9ffdbfa91d20ee3bb5087e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf1eb208ee9ffdbfa91d20ee3bb5087e0">&#9670;&nbsp;</a></span>PxVehicleSetSweepHitRejectionAngles()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleSetSweepHitRejectionAngles </td>
          <td>(</td>
          <td class="paramtype">const PxF32&#160;</td>
          <td class="paramname"><em>pointRejectAngle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxF32&#160;</td>
          <td class="paramname"><em>normalRejectAngle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set threshold angles that are used to determine if a wheel hit is to be resolved by vehicle suspension or by rigid body collision. </p>
<dl class="section note"><dt>Note</dt><dd>^ N ___ |**</dd></dl>
<p>%%% %%% ** %%% %%% ** / / %%% %%% / / %%% %%% / C / %%% | ** %%% / | ** / %%% | **%%%/ | X** %%% | %%% / **_| ^ | / D %%% | %%% / | / | / | / | ^ | S |/</p>
<p>The diagram above depicts a wheel centered at "C" that has hit an inclined plane at point "X". The inclined plane has unit normal "N", while the suspension direction has unit vector "S". The unit vector from the wheel center to the hit point is "D". Hit points are analyzed by comparing the unit vectors D and N with the suspension direction S. This analysis is performed in the contact modification callback PxVehicleModifyWheelContacts (when enabled) and in PxVehicleUpdates (when non-blocking sweeps are enabled). If the angle between D and S is less than pointRejectAngle the hit is accepted by the suspension in PxVehicleUpdates and rejected by the contact modification callback PxVehicleModifyWheelContacts. If the angle between -N and S is less than normalRejectAngle the hit is accepted by the suspension in PxVehicleUpdates and rejected by the contact modification callback PxVehicleModifyWheelContacts.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pointRejectAngle</td><td>is the threshold angle used when comparing the angle between D and S.</td></tr>
    <tr><td class="paramname">normalRejectAngle</td><td>is the threshold angle used when comparing the angle between -N and S.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>PxVehicleUpdates ignores the rejection angles for raycasts and for sweeps that return blocking hits.</dd>
<dd>
Both angles have default values of Pi/4.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__vehicle.html#ga609c26d70a0e7452c313ebe8c58d9da5" title="Perform sweeps for all suspension lines for all vehicles. ">PxVehicleSuspensionSweeps</a>, <a class="el" href="group__vehicle.html#ga1acc47dad2914768ee6074320b0a5643" title="A function called from PxContactModifyCallback::onContactModify. The function determines if rigid bod...">PxVehicleModifyWheelContacts</a> </dd></dl>

</div>
</div>
<a id="ga3b853549d4313bbbbf6a23ccd96817c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3b853549d4313bbbbf6a23ccd96817c5">&#9670;&nbsp;</a></span>PxVehicleSetUpdateMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleSetUpdateMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPxVehicleUpdateMode.html#ac04dae30cbaf5d57733b9da361bd7118">PxVehicleUpdateMode::Enum</a>&#160;</td>
          <td class="paramname"><em>vehicleUpdateMode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the effect of PxVehicleUpdates to be either to modify each vehicle's rigid body actor. </p>
<p>with an acceleration to be applied in the next PhysX SDK update or as an immediate velocity modification.</p>
<p>Default behavior is immediate velocity modification.</p>
<p>Call this function before using PxVehicleUpdates for the first time if the default is not the desired behavior.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__vehicle.html#ga47aff43683966ca9d1118a1bf4a1f5c2" title="Update an array of vehicles by either applying an acceleration to the rigid body actor associated wit...">PxVehicleUpdates</a> </dd></dl>

</div>
</div>
<a id="gae62e4d3360ae24537d7fe2100e79f24c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae62e4d3360ae24537d7fe2100e79f24c">&#9670;&nbsp;</a></span>PxVehicleShiftOrigin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleShiftOrigin </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>shift</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>nbVehicles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> **&#160;</td>
          <td class="paramname"><em>vehicles</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Shift the origin of vehicles by the specified vector. </p>
<p>Call this method to adjust the internal data structures of vehicles to reflect the shifted origin location (the shift vector will get subtracted from all world space spatial data).</p>
<dl class="section note"><dt>Note</dt><dd>It is the user's responsibility to keep track of the summed total origin shift and adjust all input/output to/from PhysXVehicle accordingly.</dd>
<dd>
This call will not automatically shift the PhysX scene and its objects. You need to call <a class="el" href="classPxScene.html#a3cb2b6b3b72cefb94fa9e64ca09660f6" title="Shift the scene origin by the specified vector. ">PxScene::shiftOrigin()</a> seperately to keep the systems in sync.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">shift</td><td>is the translation vector to shift the origin by.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nbVehicles</td><td>is the number of vehicles in the vehicles array.</td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">vehicles</td><td>is an array of all vehicles that should be updated to map to the new scene origin. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga2020b9fcb5092e2a2d81e82ba7461dfd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2020b9fcb5092e2a2d81e82ba7461dfd">&#9670;&nbsp;</a></span>PxVehicleSuspensionRaycasts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleSuspensionRaycasts </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxBatchQuery.html">PxBatchQuery</a> *&#160;</td>
          <td class="paramname"><em>batchQuery</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>nbVehicles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> **&#160;</td>
          <td class="paramname"><em>vehicles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>nbSceneQueryResults</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__physics.html#ga5d8a1dc3627cf1442f40d91a5ec6b4e3">PxRaycastQueryResult</a> *&#160;</td>
          <td class="paramname"><em>sceneQueryResults</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool *&#160;</td>
          <td class="paramname"><em>vehiclesToRaycast</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Perform raycasts for all suspension lines for all vehicles. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">batchQuery</td><td>is a <a class="el" href="classPxBatchQuery.html" title="Batched queries object. This is used to perform several queries at the same time. ...">PxBatchQuery</a> instance used to specify shader data and functions for the raycast scene queries.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nbVehicles</td><td>is the number of vehicles in the vehicles array.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">vehicles</td><td>is an array of all vehicles that are to have a raycast issued from each wheel.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nbSceneQueryResults</td><td>must be greater than or equal to the total number of wheels of all the vehicles in the vehicles array; that is, sceneQueryResults must have dimensions large enough for one raycast hit result per wheel for all the vehicles in the vehicles array.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">sceneQueryResults</td><td>must persist without being overwritten until the end of the next PxVehicleUpdates call.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">vehiclesToRaycast</td><td>is an array of bools of length nbVehicles that is used to decide if raycasts will be performed for the corresponding vehicle in the vehicles array. If vehiclesToRaycast[i] is true then suspension line raycasts will be performed for vehicles[i]. If vehiclesToRaycast[i] is false then suspension line raycasts will not be performed for vehicles[i].</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>If vehiclesToRaycast is NULL then raycasts are performed for all vehicles in the vehicles array.</dd>
<dd>
If vehiclesToRaycast[i] is false then the vehicle stored in vehicles[i] will automatically use the raycast or sweep hit planes recorded by the most recent suspension sweeps or raycasts for that vehicle. For vehicles far from the camera or not visible on the screen it can be optimal to only perform suspension line raycasts every Nth update rather than every single update. The accuracy of the cached contact plane naturally diminishes as N increase, meaning that wheels might start to hover or intersect the ground for large values of N or even with values close to 1 in conjunction with large vehicle speeds and/or geometry that has low spatial coherence.</dd>
<dd>
Calling setToRestState invalidates any cached hit planes. Prior to calling PxVehicleUpdates each vehicle needs to perform suspension line raycasts or sweeps at least once after instantiation and at least once after calling setToRestState.</dd>
<dd>
Each raycast casts along the suspension travel direction from the position of the top of the wheel at maximum suspension compression to the position of the base of the wheel at maximum droop. Raycasts that start inside a <a class="el" href="classPxShape.html" title="Abstract class for collision shapes. ">PxShape</a> are subsequently ignored by the corresponding vehicle.</dd>
<dd>
Only blocking hits are supported (<a class="el" href="structPxQueryHitType.html#acab1ef408184995d169330ed689b79e3a60dc59a348d85c101747ed45d9b20750" title="a hit on the shape blocks the query (does not block overlap queries) ">PxQueryHitType::eBLOCK</a>).</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxVehicleDrive4W.html#a37811fb8cf89260d45276a97b767acce" title="Set a vehicle to its rest state. Aside from the rigid body transform, this will set the vehicle and r...">PxVehicleDrive4W::setToRestState</a>, <a class="el" href="classPxVehicleDriveNW.html#aa66886e48cb1b6e635e804ee8267e5b3" title="Set a vehicle to its rest state. Aside from the rigid body transform, this will set the vehicle and r...">PxVehicleDriveNW::setToRestState</a>, <a class="el" href="classPxVehicleDriveTank.html#adbbad11dfa6fb32b6d209ddabf8f9132" title="Set a vehicle to its rest state. Aside from the rigid body transform, this will set the vehicle and r...">PxVehicleDriveTank::setToRestState</a>, <a class="el" href="classPxVehicleNoDrive.html#a284e8e6ff3c1617b8c39bab3edc217c7" title="Set a vehicle to its rest state. Aside from the rigid body transform, this will set the vehicle and r...">PxVehicleNoDrive::setToRestState</a> </dd></dl>

</div>
</div>
<a id="ga609c26d70a0e7452c313ebe8c58d9da5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga609c26d70a0e7452c313ebe8c58d9da5">&#9670;&nbsp;</a></span>PxVehicleSuspensionSweeps()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleSuspensionSweeps </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxBatchQuery.html">PxBatchQuery</a> *&#160;</td>
          <td class="paramname"><em>batchQuery</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>nbVehicles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> **&#160;</td>
          <td class="paramname"><em>vehicles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>nbSceneQueryResults</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__physics.html#ga89ec6835295298336ceaca7069ba96e4">PxSweepQueryResult</a> *&#160;</td>
          <td class="paramname"><em>sceneQueryResults</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxU16&#160;</td>
          <td class="paramname"><em>nbHitsPerQuery</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool *&#160;</td>
          <td class="paramname"><em>vehiclesToSweep</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxF32&#160;</td>
          <td class="paramname"><em>sweepWidthScale</em> = <code>1.0f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxF32&#160;</td>
          <td class="paramname"><em>sweepRadiusScale</em> = <code>1.0f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const PxF32&#160;</td>
          <td class="paramname"><em>sweepInflation</em> = <code>0.0f</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Perform sweeps for all suspension lines for all vehicles. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">batchQuery</td><td>is a <a class="el" href="classPxBatchQuery.html" title="Batched queries object. This is used to perform several queries at the same time. ...">PxBatchQuery</a> instance used to specify shader data and functions for the sweep scene queries.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nbVehicles</td><td>is the number of vehicles in the vehicles array.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">vehicles</td><td>is an array of all vehicles that are to have a sweep issued from each wheel.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nbSceneQueryResults</td><td>must be greater than or equal to the total number of wheels of all the vehicles in the vehicles array; that is, sceneQueryResults must have dimensions large enough for one sweep hit result per wheel for all the vehicles in the vehicles array.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">sceneQueryResults</td><td>must persist without being overwritten until the end of the next PxVehicleUpdates call.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nbHitsPerQuery</td><td>is the maximum numbers of hits that will be returned for each query.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">vehiclesToSweep</td><td>is an array of bools of length nbVehicles that is used to decide if sweeps will be performed for the corresponding vehicle in the vehicles array. If vehiclesToSweep[i] is true then suspension sweeps will be performed for vehicles[i]. If vehiclesToSweep[i] is false then suspension sweeps will not be performed for vehicles[i].</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">sweepWidthScale</td><td>scales the geometry of the wheel used in the sweep. Values &lt; 1 result in a thinner swept wheel, while values &gt; 1 result in a fatter swept wheel.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">sweepRadiusScale</td><td>scales the geometry of the wheel used in the sweep. Values &lt; 1 result in a larger swept wheel, while values &gt; 1 result in a smaller swept wheel.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">sweepInflation</td><td>Inflation parameter for sweeps. This is the inflation parameter from <a class="el" href="classPxScene.html#a9b07b2a98e64105a06e97ffaeba2a63d" title="Performs a sweep test against objects in the scene, returns results in a PxSweepBuffer object or via ...">PxScene::sweep()</a>. It inflates the shape and makes it rounder, which gives smoother and more reliable normals.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>If vehiclesToSweep is NULL then sweeps are performed for all vehicles in the vehicles array.</dd>
<dd>
If vehiclesToSweep[i] is false then the vehicle stored in vehicles[i] will automatically use the most recent sweep or raycast hit planes recorded by the most recent suspension sweeps or raycasts for that vehicle. For vehicles far from the camera or not visible on the screen it can be optimal to only perform suspension queries every Nth update rather than every single update. The accuracy of the cached contact plane naturally diminishes as N increase, meaning that wheels might start to hover or intersect the ground for large values of N or even with values close to 1 in conjunction with large vehicle speeds and/or geometry that has low spatial coherence.</dd>
<dd>
Calling setToRestState invalidates any cached hit planes. Prior to calling PxVehicleUpdates each vehicle needs to perform suspension raycasts or sweeps at least once after instantiation and at least once after calling setToRestState.</dd>
<dd>
Each sweep casts the wheel's shape along the suspension travel direction from the position of the top of the wheel at maximum suspension compression to the position of the base of the wheel at maximum droop. Sweeps that start inside a <a class="el" href="classPxShape.html" title="Abstract class for collision shapes. ">PxShape</a> are subsequently ignored by the corresponding vehicle.</dd>
<dd>
A scale can be applied to the shape so that a modified shape is swept through the scene. The parameters sweepWidthScale and sweepRadiusScale scale the swept wheel shape in the width and radial directions. It is sometimes a good idea to sweep a thinner wheel to allow contact with other dynamic actors to be resolved first before attempting to drive on them.</dd>
<dd>
Blocking hits (<a class="el" href="structPxQueryHitType.html#acab1ef408184995d169330ed689b79e3a60dc59a348d85c101747ed45d9b20750" title="a hit on the shape blocks the query (does not block overlap queries) ">PxQueryHitType::eBLOCK</a>) and non-blocking hits (PxQueryHitType::TOUCH) are supported. If the pre-and post-filter functions of the <a class="el" href="classPxBatchQuery.html" title="Batched queries object. This is used to perform several queries at the same time. ...">PxBatchQuery</a> instance are set up to return blocking hits it is recommended to set nbHitsPerQuery = 1. If the filter functions returns touch hits then it is recommended to set nbHitsPerQuery &gt; 1. The exact value depends on the expected complexity of the geometry that lies under the wheel. For complex geometry, especially with dynamic objects, it is recommended to use non-blocking hits. The vehicle update function will analyze all returned hits and choose the most appropriate using the thresholds set in PxVehicleSetSweepHitRejectionAngles.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxVehicleDrive4W.html#a37811fb8cf89260d45276a97b767acce" title="Set a vehicle to its rest state. Aside from the rigid body transform, this will set the vehicle and r...">PxVehicleDrive4W::setToRestState</a>, <a class="el" href="classPxVehicleDriveNW.html#aa66886e48cb1b6e635e804ee8267e5b3" title="Set a vehicle to its rest state. Aside from the rigid body transform, this will set the vehicle and r...">PxVehicleDriveNW::setToRestState</a>, <a class="el" href="classPxVehicleDriveTank.html#adbbad11dfa6fb32b6d209ddabf8f9132" title="Set a vehicle to its rest state. Aside from the rigid body transform, this will set the vehicle and r...">PxVehicleDriveTank::setToRestState</a>, <a class="el" href="classPxVehicleNoDrive.html#a284e8e6ff3c1617b8c39bab3edc217c7" title="Set a vehicle to its rest state. Aside from the rigid body transform, this will set the vehicle and r...">PxVehicleNoDrive::setToRestState</a></dd>
<dd>
<a class="el" href="classPxBatchQuery.html#abf15206e4dcf2238db75f47565078b49" title="Performs a sweep test against objects in the scene, returns results in PxBatchQueryMemory::userSweepR...">PxBatchQuery::sweep</a> <a class="el" href="classPxScene.html#a9b07b2a98e64105a06e97ffaeba2a63d" title="Performs a sweep test against objects in the scene, returns results in a PxSweepBuffer object or via ...">PxScene::sweep()</a></dd>
<dd>
<a class="el" href="group__vehicle.html#gaf1eb208ee9ffdbfa91d20ee3bb5087e0" title="Set threshold angles that are used to determine if a wheel hit is to be resolved by vehicle suspensio...">PxVehicleSetSweepHitRejectionAngles</a> </dd></dl>

</div>
</div>
<a id="ga946f4d23cff6fdf36dca694641e20779"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga946f4d23cff6fdf36dca694641e20779">&#9670;&nbsp;</a></span>PxVehicleUpdateCMassLocalPose()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleUpdateCMassLocalPose </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxTransform.html">PxTransform</a> &amp;&#160;</td>
          <td class="paramname"><em>oldCMassLocalPose</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxTransform.html">PxTransform</a> &amp;&#160;</td>
          <td class="paramname"><em>newCMassLocalPose</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>gravityDirection</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> *&#160;</td>
          <td class="paramname"><em>vehicle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reconfigure the vehicle to reflect a new center of mass local pose that has been applied to the actor. The function requires (i) the center of mass local pose that was last used to configure the vehicle and the vehicle's actor, (ii) the new center of mass local pose that has been applied to the vehicle's actor and will now be applied to the vehicle, and (iii) the direction of gravity (0 for x-axis, 1 for y-axis, 2 for z-axis) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">oldCMassLocalPose</td><td>is the center of mass local pose that was last used to configure the vehicle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">newCMassLocalPose</td><td>is the center of mass local pose that will be used to configure the vehicle so that it matches the vehicle's actor. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">gravityDirection</td><td>is an integer describing the direction of gravitational acceleration. A value of 0 corresponds to (0,0,-1), a value of 1 corresponds to (0,-1,0) and a value of 2 corresponds to (0,0,-1). </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">vehicle</td><td>is the vehicle to be updated with a new center of mass local pose.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This function does not update the center of mass of the vehicle actor. That needs to updated separately with <a class="el" href="classPxRigidBody.html#ab152773926fe7b222d61e982c3cb6adf" title="Sets the pose of the center of mass relative to the actor. ">PxRigidBody::setCMassLocalPose</a></dd>
<dd>
The suspension sprung masses are updated so that the natural frequency and damping ratio of the springs are preserved. This involves altering the stiffness and damping rate of the suspension springs. </dd></dl>

</div>
</div>
<a id="ga47aff43683966ca9d1118a1bf4a1f5c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga47aff43683966ca9d1118a1bf4a1f5c2">&#9670;&nbsp;</a></span>PxVehicleUpdates()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PxVehicleUpdates </td>
          <td>(</td>
          <td class="paramtype">const PxReal&#160;</td>
          <td class="paramname"><em>timestep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>gravity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVehicleDrivableSurfaceToTireFrictionPairs.html">PxVehicleDrivableSurfaceToTireFrictionPairs</a> &amp;&#160;</td>
          <td class="paramname"><em>vehicleDrivableSurfaceToTireFrictionPairs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td>
          <td class="paramname"><em>nbVehicles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVehicleWheels.html">PxVehicleWheels</a> **&#160;</td>
          <td class="paramname"><em>vehicles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structPxVehicleWheelQueryResult.html">PxVehicleWheelQueryResult</a> *&#160;</td>
          <td class="paramname"><em>vehicleWheelQueryResults</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structPxVehicleConcurrentUpdateData.html">PxVehicleConcurrentUpdateData</a> *&#160;</td>
          <td class="paramname"><em>vehicleConcurrentUpdates</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update an array of vehicles by either applying an acceleration to the rigid body actor associated with each vehicle or by an immediate update of the velocity of the actor. </p>
<dl class="section note"><dt>Note</dt><dd>The update mode (acceleration or velocity change) can be selected with PxVehicleSetUpdateMode.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">timestep</td><td>is the timestep of the update</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">gravity</td><td>is the value of gravitational acceleration</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">vehicleDrivableSurfaceToTireFrictionPairs</td><td>describes the mapping between each <a class="el" href="classPxMaterial.html" title="Material class to represent a set of surface properties. ">PxMaterial</a> ptr and an integer representing a surface type. It also stores the friction value for each combination of surface and tire type.</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nbVehicles</td><td>is the number of vehicles pointers in the vehicles array</td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">vehicles</td><td>is an array of length nbVehicles containing all vehicles to be updated by the specified timestep</td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">vehicleWheelQueryResults</td><td>is an array of length nbVehicles storing the wheel query results of each corresponding vehicle and wheel in the vehicles array. A NULL pointer is permitted.</td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">vehicleConcurrentUpdates</td><td>is an array of length nbVehicles. It is only necessary to specify vehicleConcurrentUpdates if PxVehicleUpdates is called concurrently (also concurrently with PxVehicleUpdateSingleVehicleAndStoreTelemetryData). The element vehicleConcurrentUpdates[i] of the array stores data that is computed for vehicle[i] during PxVehicleUpdates but which cannot be safely written when concurrently called. The data computed and stored in vehicleConcurrentUpdates must be passed to PxVehiclePostUpdates, where it is applied to all relevant actors in sequence. A NULL pointer is permitted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The vehicleWheelQueryResults buffer must persist until the end of PxVehicleUpdates.</dd>
<dd>
The vehicleWheelQueryResults buffer is left unmodified for vehicles with sleeping rigid bodies whose control inputs indicate they should remain inert.</dd>
<dd>
If PxVehicleUpdates is called concurrently then vehicleConcurrentUpdates must be specified. Do not specify vehicleConcurrentUpdates if PxVehicleUpdates is not called concurrently.</dd>
<dd>
The vehicleConcurrentUpdates buffer must persist until the end of PxVehiclePostUpdate.</dd>
<dd>
If any vehicle has one or more disabled wheels (<a class="el" href="classPxVehicleWheelsSimData.html#a98eb5965f7c02a507ae7979cea8b54c0" title="Disable a wheel so that zero suspension forces and zero tire forces are applied to the rigid body fro...">PxVehicleWheelsSimData::disableWheel</a>) then the disabled wheels must not be associated with a <a class="el" href="classPxShape.html" title="Abstract class for collision shapes. ">PxShape</a> (<a class="el" href="classPxVehicleWheelsSimData.html#a07988e7e4bfd905ae1dd182ef3a1cab1" title="Set mapping between wheel id and position of corresponding wheel shape in the list of actor shapes...">PxVehicleWheelsSimData::setWheelShapeMapping</a>); the differential of the vehicle must be configured so that no drive torque is delivered to a disabled wheel; and the wheel must have zero rotation speed (<a class="el" href="classPxVehicleWheelsDynData.html#aef9282166f0b158d978b7ae8e8c28153" title="Set the wheel rotation speed (radians per second) about the rolling axis for the specified wheel...">PxVehicleWheelsDynData::setWheelRotationSpeed</a>)</dd>
<dd>
Concurrent calls to PxVehicleUpdates and PxVehicleUpdateSingleVehicleAndStoreTelemetryData are permitted if the parameter vehicleConcurrentUpdates is used.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__vehicle.html#ga3b853549d4313bbbbf6a23ccd96817c5" title="Set the effect of PxVehicleUpdates to be either to modify each vehicle&#39;s rigid body actor...">PxVehicleSetUpdateMode</a>, <a class="el" href="classPxVehicleWheelsSimData.html#a98eb5965f7c02a507ae7979cea8b54c0" title="Disable a wheel so that zero suspension forces and zero tire forces are applied to the rigid body fro...">PxVehicleWheelsSimData::disableWheel</a>, <a class="el" href="classPxVehicleWheelsSimData.html#a07988e7e4bfd905ae1dd182ef3a1cab1" title="Set mapping between wheel id and position of corresponding wheel shape in the list of actor shapes...">PxVehicleWheelsSimData::setWheelShapeMapping</a>, <a class="el" href="classPxVehicleWheelsDynData.html#aef9282166f0b158d978b7ae8e8c28153" title="Set the wheel rotation speed (radians per second) about the rolling axis for the specified wheel...">PxVehicleWheelsDynData::setWheelRotationSpeed</a>, <a class="el" href="group__vehicle.html#gaf9349122c5cf95fec09bd09ce5e540d2" title="Apply actor changes that were computed in concurrent calls to PxVehicleUpdates or PxVehicleUpdateSing...">PxVehiclePostUpdates</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
